import functools
import logging


def log_decorator(func):
    logging.basicConfig(level=logging.INFO)
    def wrapper(*args, **kwargs):
        logging.info(f'Running "{func.__name__}" with arguments {args} and kwargs {kwargs}')
        result = func(*args, **kwargs)
        logging.info(f'Finished "{func.__name__}" with result {result}')
        return result
    return wrapper


@log_decorator
def add(x, y):
    return x + y

if __name__ == "__main__":
    add(5,6)
